@SET TEMPLATEDIR="%PROGRAMFILES%\common files\microsoft shared\web server extensions\12\Template"
@SET STSADM="%PROGRAMFILES%\common files\microsoft shared\web server extensions\12\bin\stsadm"

@Echo Copiando arquivos para a pasta da feature

@Echo off
xcopy /e /y TEMPLATE\* %TEMPLATEDIR%

pause

@Echo Instalando a feature "Update Content Type"
@Echo off
%STSADM% -o installfeature -filename  UpdateContentType\feature.xml -force
%STSADM% -o activatefeature -name UpdateContentType\ -url http://localhost

@Echo Feature instalada.

@Echo Reiniciando o IIS...

IISRESET


